package cn.ilikes.apps.collect.services.impls;

import javax.persistence.PersistenceContext;

import org.springframework.stereotype.Component;

import cn.ilikes.apps.collect.services.IIlikesBaseService;
import cn.ilikes.tools.nosql.jpa.persistences.IJPASQLEntityManager;
import cn.ilikes.tools.nosql.jpa.springs.BaseService;

@Component(IIlikesBaseService.SPRING_DEFULT_NAME)
public class LikesBaseService extends BaseService implements IIlikesBaseService {

	@PersistenceContext(name = persistence_unilts_name)
	private IJPASQLEntityManager entityManager;

	@Override
	public IJPASQLEntityManager getEntityManager() {

		return entityManager;
	}

}
